import './assets/main.css'


import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
// 1. 引入你需要的组件
import { Button } from 'vant';
// 2. 引入组件样式
import 'vant/lib/index.css'
import './styles/common.less'
import 'vant/es/toast/style';
// 3. 注册你需要的组件

import App from './App.vue'
import router from './router'
const pinia = createPinia()
const app = createApp(App)
pinia.use(piniaPluginPersistedstate)
app.use(Button);
app.use(pinia)
app.use(router)

app.mount('#app')
